<template>
  <div class="container">
    <NavHead></NavHead>
    <div class="router-box">
      <router-view/>
    </div>

<!--    <div class="layout-footer"></div>-->
  </div>

</template>
<script setup>
import {onMounted} from "vue";
import NavHead from './common/nav-head.vue'

onMounted(()=>{
  setTimeout(() => {
    window.L2Dwidget.init({
      pluginRootPath: 'live2dw/',
      pluginJsPath: 'lib/',
      pluginModelPath: `live2d-widget-model-tororo/assets/`,
      tagMode: false,
      debug: false,
      model: { jsonPath: `/live2dw/live2d-widget-model-tororo/assets/tororo.model.json` },
      display: { position: 'left', width: 200, height: 300 },
      mobile: { show: true },
      log: false
    })
  }, 500)
})

</script>

<style scoped>
.container{
  background-color: #f5f6f9;
  padding-top: 70px;
  min-height: 100vh ;
}
</style>